package com.dapeis.domain;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.ag.core.base.Domain;
import com.dapeis.core.utils.StylistConstants;

/**
 * 衣橱 Title:Garderobe.java Garderobe Description:
 * 
 * @author yuanyong
 * @date 2017年4月28日 上午10:58:04 Email: hzyuanyong@126.com
 *
 */
@Table(name = "dps_garderobe")
public class Garderobe extends Domain {
    private static final long serialVersionUID = -221423474392379029L;

    @Id
    @GeneratedValue(generator = "JDBC")
    private Long id;
    private Integer userId; // 用户Id ,当type是 搭配师时，userId为搭配师的ID
    private String typeCode; // 类别：上衣等
    private String type;//类型：搭配师，用户
    private String name; // 商品名称
    private String remark; // 描述
    private String imgUrl;// 图片地址
    private Long createTime; // 创建时间
    private Integer state = StylistConstants.State.NORMAL; // 状态

    public static final String PROPERTY_USERID = "userId";
    public static final String PROPERTY_TYPECODE = "typeCode";
    public static final String PROPERTY_STATE = "state";
    public static final String PROPERT_ID = "id";
    public static final String PROPERTY_TYPE = "type";
    
    public Long getId() {
	return id;
    }

    public void setId(Long id) {
	this.id = id;
    }

    public Integer getUserId() {
	return userId;
    }

    public void setUserId(Integer userId) {
	this.userId = userId;
    }

    public String getTypeCode() {
	return typeCode;
    }

    public void setTypeCode(String typeCode) {
	this.typeCode = typeCode;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public String getRemark() {
	return remark;
    }

    public void setRemark(String remark) {
	this.remark = remark;
    }

    public String getImgUrl() {
	return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
	this.imgUrl = imgUrl;
    }

    public Long getCreateTime() {
	return createTime;
    }

    public void setCreateTime(Long createTime) {
	this.createTime = createTime;
    }

    public Integer getState() {
	return state;
    }

    public void setState(Integer state) {
	this.state = state;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    
}
